package com.lj.back.manage.scaffold.module.sys.DTO;

import com.lj.back.manage.scaffold.common.DTO.PageQuery;
import com.lj.back.manage.scaffold.common.annotation.valid.EnumCheck;
import com.lj.back.manage.scaffold.common.enums.UserStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 后台用户分页查询
 * @author lv
 * @version 1.0.0
 */
@Data
@ApiModel("后台用户分页查询对象")
@EqualsAndHashCode(callSuper=true)
public class SysUserPageQuery extends PageQuery {

    @ApiModelProperty(value = "用户状态",example = "1")
    @EnumCheck(enumClass = UserStatusEnum.class)
    private String status;
}
